package com.idheima.zuoye.zuoye1;

public class Teacher extends Person {
    public Teacher(String name, int age, String address) {
        super(name, age, address);
    }

    @Override
    public void write() {
        info();
        System.out.println("教学10年，有充分的教学经验");
    }
}
